<template>
	<view class="noData">
		<image src="../static/img/no_data.png" mode=""></image>
		<view class="text">
			{{text}}
		</view>
	</view>
</template>

<script setup>

	const props=defineProps({
		text:{
			default:'暂无任务',
			type:String
		}
	})
</script>

<style scoped lang="scss">
	.noData {
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin-top: 200rpx;
		color: #c0c0c0;

		image {
			width: 360rpx;
			height: 360rpx;
		}

		.text {
			margin-top: 20rpx;
		}
	}
</style>